home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / jam / jamdisk7 / inc9110b.lzh / include / signal.h < prev    next >
C/C++ Source or Header  |  1991-04-10  |  526b  |  27 lines

  1. /*
  2.  * signal.h
  3.  */
  4.  
  5. /*
  6.  * 3.3.91 sjw; K&R2
  7.  * 10.4.91 sjw; correct types of predefined actions
  8.  */
  9.  
  10. #ifndef __SIGNAL_H__
  11. #define __SIGNAL_H__
  12.  
  13. #define NSIG 9        
  14. #define SIGINT 2            /* console interrupt */
  15. #define SIGFPE 8            /* floating point exception */
  16. #define SIG_DFL (void (*)())0        /* default action */
  17. #define SIG_IGN (void (*)())1        /* ignore the signal */
  18. #define SIG_ERR (void (*)())(-1)    /* error return */
  19.  
  20. void (*signal(int sig, void (*handler)(int)))(int);
  21. #if 0
  22. int raise(int sig);
  23. #endif
  24.  
  25. #endif /* __SIGNAL_H__ */
  26.  
  27.